package com.hc.springbootschedule.distributed.xxljob;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import org.springframework.stereotype.Component;

import static com.xxl.job.core.biz.model.ReturnT.SUCCESS;

// @JobHandler(value = "helloJobHandler")
@Component
public class HelloJobHandler extends IJobHandler {


    @Override
    public void execute() throws Exception {
        System.out.println("XXL-JOB, Hello World.");
    }
}